<%@ page import="java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=windows-1255"
    pageEncoding="windows-1255"%>
<?xml version="1.0" encoding="windows-1255" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
	<title>Search posts</title>
	<!-- initialize google maps scripts and what to load -->
	<script src="googleMapScripts.js" type="text/javascript"></script>
	<script> 
		googleMapScripts_loadTasks=true;		
		googleMapScripts_loadTeams=true;		
		googleMapScripts_loadMatches=true; 
		googleMapScripts_loadUserPosts=false;
		googleMapScripts_loadSinglePostWithID=-1;
	</script>
</head>
<body>
	<p class="subtitle">Search for a post:</p>
	<p class="topic">Select the central point of your search:</p>
	<div id="map-canvas"></div>
	<div class="text"><form>
		<label>Bring posts in radius of:&nbsp;</label>
		<input type="text" name="radius" id="radius" value="1000" /><label>&nbsp; meters</label><br />
		<input type="hidden" name="latPos" id ="latPos"></input>
		<input type="hidden" name="lngPos" id ="lngPos"></input>
		<input type="checkbox" checked="checked" name="bringTasks" id="bringTasks" onclick="setKMLVisibleForSearch(); displaySearchTypes()"/>
		<label>Show tasks&nbsp;</label><br />
		<input type="checkbox" checked="checked" name="bringTeams" id="bringTeams" onclick="setKMLVisibleForSearch(); displaySearchTypes()" />
		<label>Show teams&nbsp;</label><br />
		<input type="checkbox" checked="checked" name="bringMatches" id="bringMatches" onclick="setKMLVisibleForSearch()" />
		<label>Show matches&nbsp;</label><br />
		<input type="button" value="Search" class="regularButton" onclick="validateUserInputForSearch()"/><br />
	</form></div>
	<div class="text" id="resultDiv"></div>
</body>
</html>